﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Abp.Domain.Entities.Auditing;
using FwProject.Core.Distribution;

namespace FwProject.Distribution
{
    [Table("DistributionHistory")]
    public class DistributionHistory : FullAuditedEntity<Guid>
    { 
        /// <summary>
        /// 操作用户
        /// </summary>
        public long OperatingUserId { get; set; }
        /// <summary>
        /// 记录
        /// </summary>
        [Required]
        public string Record { get; set; }
        /// <summary>
        /// 配送编号
        /// </summary>
        public Guid DistributionId { get; set; }

        [ForeignKey("DistributionId")]
        public virtual DistributionInfo DistributionInfoModel { get; set; }

    }
}
